package com.deer.wms.instock.service.impl;

import com.deer.wms.instock.dao.AllotDetailMapper;
import com.deer.wms.instock.model.Allot.AllotDetail;
import com.deer.wms.instock.model.Allot.AllotDetailCriteria;
import com.deer.wms.instock.service.AllotDetailService;
import com.deer.wms.project.root.service.SuperServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 *
 * @author ll
 * @since 2020/03/04
 */
@Service
@Transactional
public class AllotDetailServiceImpl extends SuperServiceImpl<AllotDetailMapper, AllotDetail> implements AllotDetailService {

    @Autowired
    private AllotDetailMapper allotDetailMapper;

    @Override
    public List<AllotDetail> findList(AllotDetailCriteria criteria) {
        return allotDetailMapper.findList(criteria);
    }
}
